#ifndef CHARACTERINVENTORY_H
#define CHARACTERINVENTORY_H

#define MAXITEMS 10
#include "Inventory.h"

class CharacterInventory: public Inventory
{
    public:
        //CharacterInventory();
        //add something to the inventory
        void add(Base* item)
        {
            if(getNumOfItems() < MAXITEMS)
            {
                Inventory::add(item);
            }
            else{throw item;}
        }
    protected:
    private:
};

#endif // CHARACTERINVENTORY_H
